﻿/*Grid*/
.EasyGrid {
    overflow: hidden;
    position: relative;
    background-color: white;
    margin-bottom: 0px;
}

    .EasyGrid .Busy {
        background: url(Images/lightbox-loader.gif) center center no-repeat;
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        left: 0px;
        top: 0px;
    }

.Gridfoot a:hover {
    color: orange;
}

.EasyGrid .GridContent {
}

.EasyGrid .GridToolBar {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
    display: none;
    padding: 2px;
}

.EasyGrid .GridContent .GridBody {
    overflow: auto;
    position: relative;
}

.EasyGrid .GridContent table td, th {
    padding: 2px 0px 2px 0px;
}

.EasyGrid .GridContent table th > .DropDownList {
    display: block;
}

.EasyGrid .GridContent table th > span {
    display: block;
}

.EasyGrid .NumAdd, .EasyGrid .NumClear, .EasyGrid .ClearSearch {
    width: 16px;
    height: 16px;
    line-height: 14px;
    border: none;
    cursor: pointer;
    margin: 0px 2px 0px 2px;
    float: left;
}

.EasyGrid .NumAdd {
    background: url(Images/add.png);
}

.EasyGrid .NumClear, .EasyGrid .ClearSearch {
    background: url(Images/undo.png);
}

.EasyGrid button:active {
    background-color: #CCC;
}

.EasyGrid .GridContent .GridHeader {
    background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
    background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
    background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
    background-repeat: repeat-x;
    background-color: #F0F0EE;
    border-bottom: 1px solid #D7D7D7;
    overflow: hidden;
}

    .EasyGrid .GridContent .GridHeader .trTitle {
    }

    .EasyGrid .GridContent .GridHeader th {
        font-weight: normal;
        text-align: left;
        cursor: pointer;
        text-indent: 5px;
    }

.EasyGrid .GridContent .GridSearch {
    border-bottom: 1px solid #D7D7D7;
    overflow: hidden;
}

    .EasyGrid .GridContent .GridSearch input[type='text'] {
        display: block;
        font-weight:normal;
    }

.EasyGrid input[type='text'], .NumConditionBox input[type='text'] {
    border: 1px solid #DDD;
    outline: none;
    margin: 0px auto 0px auto;
    padding: 2px;
}

.EasyGrid .GridSearch input[type='text'] {
    width: 90%;
}

.EasyGrid .GridContent .GridSearch th {
    text-align: left;
}

    .EasyGrid .GridContent .GridSearch th > select {
        width: 90%;
        border: 1px solid #DDD;
        outline: none;
        margin: 0px auto 0px auto;
    }

.EasyGrid .GridContent .GridBody td {
    border-bottom: 1px solid #D7D7D7;
    overflow: hidden;
}

.EasyGrid .GridContent .coData {
    overflow: hidden;
    padding: 5px 1px;
    word-break: keep-all;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.EasyGrid .GridContent table tr {
}

.EasyGrid .GridContent table .trBe:hover {
    background-color: #FFFFCC;
}

.EasyGrid .GridContent table .trAf:hover {
    background-color: #FFFFCC;
}

.EasyGrid .Gridfoot {
    font-size: 13px;
    margin-top: 0px;
    background: #F0F0EE;
    padding: 2px;
    border-top: 1px solid #D7D7D7;
    color: #535353;
    clear: both;
}

    .EasyGrid .Gridfoot > label {
        margin: 0 2px;
    }

.EasyGrid #GridPageIdex {
    width: 26px;
}

#PagePre, #PageFirst, #PageNext, #PageLast, #PageGo {
    overflow: visible;
    margin-left:7px;
    text-decoration: none;
    padding: 2px;
    color: #535353;
    cursor: pointer;
}

    #PagePre:active, #PageFirst:active, #PageNext:active, #PageLast:active, #PageGo:active {
        color: #ccc;
    }

.EasyGrid .CheckBox {
    padding: 2px;
}

.EasyGrid .OrderUp {
    background-image: url(Images/Grid/triangle.png);
    background-position: right center;
    background-repeat: no-repeat;
}

.EasyGrid .OrderDown {
    background-image: url(Images/Grid/triangle2.png);
    background-position: right center;
    background-repeat: no-repeat;
}

.NumConditionBox {
    position: absolute;
    left: 0px;
    top: 0px;
    border: 1px solid #CCC;
    background-color: white;
    padding: 2px;
}

    .NumConditionBox > div {
        padding: 2px;
    }

    .NumConditionBox input[type='text'] {
        width: 160px;
        float: left;
    }

    .NumConditionBox label {
        display: block;
        float: left;
        width: 25px;
        text-align: center;
        line-height: 29px;
    }

.GridDelete {
    background: url(Images/Grid/remove.png) center center no-repeat;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 1px solid #F0F0EE;
    display: none;
    float: left;
}

.InnerLonding {
    background: url(Images/Grid/ajax-loader.gif) center center no-repeat;
}
.glyphicon-repeat.InnerLonding:before{
    visibility:collapse;
}
.GridDelete:hover {
    border: 1px solid #fff;
}

.GridDelete:active {
    background: none;
}
